3.270 \(\int \frac{\left (a+b x^3+c x^6\right )^p}{x^7} \, dx\)

Optimal. Leaf size=168 \[ -\frac{2^{2 p-1} \left (\frac{-\sqrt{b^2-4 a c}+b+2 c x^3}{c x^3}\right )^{-p} \left (\frac{\sqrt{b^2-4 a c}+b+2 c x^3}{c x^3}\right )^{-p} \left (a+b x^3+c x^6\right )^p F_1\left (2 (1-p);-p,-p;3-2 p;-\frac{b-\sqrt{b^2-4 a c}}{2 c x^3},-\frac{b+\sqrt{b^2-4 a c}}{2 c x^3}\right )}{3 (1-p) x^6} \]

[Out]

-(2^(-1 + 2*p)*(a + b*x^3 + c*x^6)^p*AppellF1[2*(1 - p), -p, -p, 3 - 2*p, -(b -
Sqrt[b^2 - 4*a*c])/(2*c*x^3), -(b + Sqrt[b^2 - 4*a*c])/(2*c*x^3)])/(3*(1 - p)*x^
6*((b - Sqrt[b^2 - 4*a*c] + 2*c*x^3)/(c*x^3))^p*((b + Sqrt[b^2 - 4*a*c] + 2*c*x^
3)/(c*x^3))^p)

_______________________________________________________________________________________

Rubi [A]  time = 0.324099, antiderivative size = 168, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167 \[ -\frac{2^{2 p-1} \left (\frac{-\sqrt{b^2-4 a c}+b+2 c x^3}{c x^3}\right )^{-p} \left (\frac{\sqrt{b^2-4 a c}+b+2 c x^3}{c x^3}\right )^{-p} \left (a+b x^3+c x^6\right )^p F_1\left (2 (1-p);-p,-p;3-2 p;-\frac{b-\sqrt{b^2-4 a c}}{2 c x^3},-\frac{b+\sqrt{b^2-4 a c}}{2 c x^3}\right )}{3 (1-p) x^6} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x^3 + c*x^6)^p/x^7,x]

[Out]

-(2^(-1 + 2*p)*(a + b*x^3 + c*x^6)^p*AppellF1[2*(1 - p), -p, -p, 3 - 2*p, -(b -
Sqrt[b^2 - 4*a*c])/(2*c*x^3), -(b + Sqrt[b^2 - 4*a*c])/(2*c*x^3)])/(3*(1 - p)*x^
6*((b - Sqrt[b^2 - 4*a*c] + 2*c*x^3)/(c*x^3))^p*((b + Sqrt[b^2 - 4*a*c] + 2*c*x^
3)/(c*x^3))^p)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 29.5427, size = 150, normalized size = 0.89 \[ - \frac{\left (\frac{b + 2 c x^{3} - \sqrt{- 4 a c + b^{2}}}{2 c x^{3}}\right )^{- p} \left (\frac{b + 2 c x^{3} + \sqrt{- 4 a c + b^{2}}}{2 c x^{3}}\right )^{- p} \left (a + b x^{3} + c x^{6}\right )^{p} \left (\frac{1}{x^{3}}\right )^{2 p} \left (\frac{1}{x^{3}}\right )^{- 2 p + 2} \operatorname{appellf_{1}}{\left (- 2 p + 2,- p,- p,- 2 p + 3,- \frac{b - \sqrt{- 4 a c + b^{2}}}{2 c x^{3}},- \frac{b + \sqrt{- 4 a c + b^{2}}}{2 c x^{3}} \right )}}{6 \left (- p + 1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((c*x**6+b*x**3+a)**p/x**7,x)

[Out]

-((b + 2*c*x**3 - sqrt(-4*a*c + b**2))/(2*c*x**3))**(-p)*((b + 2*c*x**3 + sqrt(-
4*a*c + b**2))/(2*c*x**3))**(-p)*(a + b*x**3 + c*x**6)**p*(x**(-3))**(2*p)*(x**(
-3))**(-2*p + 2)*appellf1(-2*p + 2, -p, -p, -2*p + 3, -(b - sqrt(-4*a*c + b**2))
/(2*c*x**3), -(b + sqrt(-4*a*c + b**2))/(2*c*x**3))/(6*(-p + 1))

_______________________________________________________________________________________

Mathematica [B]  time = 3.1528, size = 507, normalized size = 3.02 \[ \frac{c 4^{-p-1} (2 p-3) \left (\sqrt{b^2-4 a c}+b+2 c x^3\right ) \left (\frac{b-\sqrt{b^2-4 a c}}{2 c x^3}+1\right )^{-p} \left (\frac{b-\sqrt{b^2-4 a c}}{2 c}+x^3\right )^{-p} \left (\frac{-\sqrt{b^2-4 a c}+b+2 c x^3}{c}\right )^{p+1} \left (\frac{-\sqrt{b^2-4 a c}+b+2 c x^3}{c x^3}\right )^p \left (a+b x^3+c x^6\right )^{p-1} F_1\left (2-2 p;-p,-p;3-2 p;-\frac{b+\sqrt{b^2-4 a c}}{2 c x^3},\frac{\sqrt{b^2-4 a c}-b}{2 c x^3}\right )}{3 (p-1) x^3 \left (2 c (2 p-3) x^3 F_1\left (2-2 p;-p,-p;3-2 p;-\frac{b+\sqrt{b^2-4 a c}}{2 c x^3},\frac{\sqrt{b^2-4 a c}-b}{2 c x^3}\right )-p \left (\left (\sqrt{b^2-4 a c}+b\right ) F_1\left (3-2 p;1-p,-p;4-2 p;-\frac{b+\sqrt{b^2-4 a c}}{2 c x^3},\frac{\sqrt{b^2-4 a c}-b}{2 c x^3}\right )+\left (b-\sqrt{b^2-4 a c}\right ) F_1\left (3-2 p;-p,1-p;4-2 p;-\frac{b+\sqrt{b^2-4 a c}}{2 c x^3},\frac{\sqrt{b^2-4 a c}-b}{2 c x^3}\right )\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[(a + b*x^3 + c*x^6)^p/x^7,x]

[Out]

(4^(-1 - p)*c*(-3 + 2*p)*((b - Sqrt[b^2 - 4*a*c] + 2*c*x^3)/c)^(1 + p)*((b - Sqr
t[b^2 - 4*a*c] + 2*c*x^3)/(c*x^3))^p*(b + Sqrt[b^2 - 4*a*c] + 2*c*x^3)*(a + b*x^
3 + c*x^6)^(-1 + p)*AppellF1[2 - 2*p, -p, -p, 3 - 2*p, -(b + Sqrt[b^2 - 4*a*c])/
(2*c*x^3), (-b + Sqrt[b^2 - 4*a*c])/(2*c*x^3)])/(3*(-1 + p)*(1 + (b - Sqrt[b^2 -
 4*a*c])/(2*c*x^3))^p*x^3*((b - Sqrt[b^2 - 4*a*c])/(2*c) + x^3)^p*(2*c*(-3 + 2*p
)*x^3*AppellF1[2 - 2*p, -p, -p, 3 - 2*p, -(b + Sqrt[b^2 - 4*a*c])/(2*c*x^3), (-b
 + Sqrt[b^2 - 4*a*c])/(2*c*x^3)] - p*((b + Sqrt[b^2 - 4*a*c])*AppellF1[3 - 2*p,
1 - p, -p, 4 - 2*p, -(b + Sqrt[b^2 - 4*a*c])/(2*c*x^3), (-b + Sqrt[b^2 - 4*a*c])
/(2*c*x^3)] + (b - Sqrt[b^2 - 4*a*c])*AppellF1[3 - 2*p, -p, 1 - p, 4 - 2*p, -(b
+ Sqrt[b^2 - 4*a*c])/(2*c*x^3), (-b + Sqrt[b^2 - 4*a*c])/(2*c*x^3)])))

_______________________________________________________________________________________

Maple [F]  time = 0.053, size = 0, normalized size = 0. \[ \int{\frac{ \left ( c{x}^{6}+b{x}^{3}+a \right ) ^{p}}{{x}^{7}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((c*x^6+b*x^3+a)^p/x^7,x)

[Out]

int((c*x^6+b*x^3+a)^p/x^7,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (c x^{6} + b x^{3} + a\right )}^{p}}{x^{7}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^6 + b*x^3 + a)^p/x^7,x, algorithm="maxima")

[Out]

integrate((c*x^6 + b*x^3 + a)^p/x^7, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (c x^{6} + b x^{3} + a\right )}^{p}}{x^{7}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^6 + b*x^3 + a)^p/x^7,x, algorithm="fricas")

[Out]

integral((c*x^6 + b*x^3 + a)^p/x^7, x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x**6+b*x**3+a)**p/x**7,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (c x^{6} + b x^{3} + a\right )}^{p}}{x^{7}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^6 + b*x^3 + a)^p/x^7,x, algorithm="giac")

[Out]

integrate((c*x^6 + b*x^3 + a)^p/x^7, x)